<html>
<head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
    <title>alert</title>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <link href="css1.css" rel="stylesheet"/>
    <script type="text/javascript"> $(document).ready(function () {
        $('#tooltip').tooltip({"placement": "right"});
        $('#tooltip').click(function () {
            alert('hello,Java12&&Java11!')
        });
    }); </script>
</head>
<body>
<div class="row-fluid">
    <div class="span6 well">
        <h3>alert</h3>
        <a id="tooltip" href="#" data-toggle="tooltip" title="hello,Java12&&Java11 ！">hover to see tooltip</a>
    </div>
</div>
</body>
<script src="js1.js"></script>
</html>